package com.example.helloworld;

import android.telephony.PhoneStateListener;
import android.telephony.SignalStrength;
import android.util.Log;

public class SignalListener extends PhoneStateListener {
	
	public int ss;
	static final String LOG = "mylog"; 
	
	@Override
	public void onSignalStrengthsChanged(SignalStrength sig) {
		ss = sig.getGsmSignalStrength();
		Log.v(LOG, "SignalListener: Strength changed to " + ss);
		
	}

}
